//
//  LableQradioButtonCell.m
//  geiTA
//
//  Created by 杨元龙 on 14-11-19.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "LableQradioButtonCell.h"

@implementation LableQradioButtonCell

- (void)dealloc
{
    [_nameLable release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self =[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        self.nameLable =[[UILabel alloc]initWithFrame:CGRectMake(10, 5, self.frame.size.width/4, self.frame.size.height-10)];
        [_nameLable setBackgroundColor:[UIColor yellowColor]];
        [self addSubview:_nameLable];
        
        
        NSArray *array = [NSArray arrayWithObjects:@"男",@"女", nil];
        
        self.radio = [[RadioButton alloc] initWithFrame:CGRectMake(130, 5, 200, self.frame.size.height-10) names:array];
        [_radio setBackgroundColor:[UIColor yellowColor]];
        [self addSubview:_radio];
        [_radio release];
        
        
    }
    return self;
    
    
}


@end
